package com.hyh.admin.mapper.resources;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyh.admin.domain.resources.Resources;
import com.hyh.admin.domain.resources.ResourcesCollect;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResourcesCollectMapper extends BaseMapper<ResourcesCollect> {
    /**
     * 查询自己所有资源收藏
     * @param userId
     * @return 收藏列表
     */
    List<Resources> selectResourcesCollect(Long userId);
}
